package com.song.entity;

import java.io.File;

public class Constants {
    public final static String SEPARATOR = File.separator;

    public final static int SUCCESS_CODE = 0;
    public final static int FAIL_CODE = -1;

    // 密码长度限制
    public static final int PASSWORD_MIN_LENGTH = 5;
    public static final int PASSWORD_MAX_LENGTH = 20;

    // 用户名长度限制
    public static final int USERNAME_MIN_LENGTH = 3;
    public static final int USERNAME_MAX_LENGTH = 20;

    public static final int USER_STATUS_DELETED = 1;
}
